﻿@model Home.Site.Models.Account.LocalPasswordModel
@{
    ViewBag.Title = ViewBag.Message;
}
<p class="message-success">@ViewBag.StatusMessage</p>

<p>Вы залогинились как <strong>@User.Identity.Name</strong>.</p>

@{
    Html.RenderPartial("Account/Gravatar", User.Identity.Name);
}
<br/>
@{
    Html.RenderPartial("_ChangeUserInfo",Model);
}

@(ViewBag.HasLocalPassword ? Html.Partial("_ChangePasswordPartial") : Html.Partial("_SetPasswordPartial"))

<section id="externalLogins">
    @Html.Action("RemoveExternalLogins")

    <h3>Добавить внешний логин</h3>
    @Html.Action("ExternalLoginsList", new { ReturnUrl = ViewBag.ReturnUrl })
</section>

@section Scripts {
    @Scripts.Render("~/jqueryval")
}
